import { appTasks } from '@ohos/hvigor-ohos-plugin';
import * as data from "../keystore/chp/signdata.json";

export default {
    system: appTasks,  /* Built-in plugin of Hvigor. It cannot be modified. */
    plugins:[],         /* Custom plugin to extend the functionality of Hvigor. */
    config: {
        ohos: {

        }
    }
}
/* 从自定义data.json文件获取签名信息 */
function getSigningConfig() {
    return {
        type: "HarmonyOS",
        material: {
            certpath: data.certpath,
            storePassword: data.storePassword,
            keyAlias: data.keyAlias,
            keyPassword: data.keyPassword,
            profile: data. profile,
            signAlg: data.signAlg,
            storeFile: data.storeFile
        }
    }
}
